Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit acdae8c11da6d571e3e7cb238d05e6e5369b2fcf


Parents : dd33483
Author : Mark Qvist <mark@unsigned.io>
Date : 2026-01-12T00:24:50+01:00

Fixed missing saved file name display on file download

Changes

1 files changed, 2 insertions(+), 0 deletions(-)


Diff

diff --git a/nomadnet/ui/textui/Browser.py b/nomadnet/ui/textui/Browser.py
index a5a390c..e2fb0df 100644
--- a/nomadnet/ui/textui/Browser.py
+++ b/nomadnet/ui/textui/Browser.py
@@ -1392,6 +1392,8 @@ class Browser:
shutil.move(file_handle.name, file_destination)
+ self.saved_file_name = file_destination.replace(self.app.downloads_path+"/", "", 1)
+
else:
file_name = request_receipt.response[0]
file_data = request_receipt.response[1]


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────